<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
String checkWord = "";
	if(session.getAttribute("verifyCode")!=null){
		checkWord = session.getAttribute("verifyCode").toString();
	}
	 
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>中国电信增值业务超市--管理员登陆</title>
<style type="text/css">
<!--
a{ color:#008EE3}
a:link  { text-decoration: none;color:#008EE3}
A:visited {text-decoration: none;color:#666666}
A:active {text-decoration: underline}
A:hover {text-decoration: underline;color: #0066CC}
A.b:link {
	text-decoration: none;
	font-size:12px;
	font-family: "Helvetica,微软雅黑,宋体";
	color: #FFFFFF;
}
A.b:visited {
	text-decoration: none;
	font-size:12px;
	font-family: "Helvetica,微软雅黑,宋体";
	color: #FFFFFF;
}
A.b:active {
	text-decoration: underline;
	color: #FF0000;

}
A.b:hover {text-decoration: underline; color: #ffffff}

.table1 {
	border: 1px solid #CCCCCC;
}
.font {
	font-size: 12px;
	text-decoration: none;
	color: #999999;
	line-height: 20px;
	

}
.input {
	font-size: 12px;
	color: #999999;
	text-decoration: none;
	border: 0px none #999999;


}

td {
	font-size: 12px;
	color: #007AB5;
}
form {
	margin: 1px;
	padding: 1px;
}
input {
	border: 0px;
	height: 26px;
	color: #007AB5;

	.unnamed1 {
	border: thin none #FFFFFF;
}
.unnamed1 {
	border: thin none #FFFFFF;
}
select {
	border: 1px solid #cccccc;
	height: 18px;
	color: #666666;

	.unnamed1 {
	border: thin none #FFFFFF;
}
body {
	background-repeat: no-repeat;
	background-color: #9CDCF9;
	background-position: 0px 0px;

}
.tablelinenotop {
	border-top: 0px solid #CCCCCC;
	border-right: 1px solid #CCCCCC;
	border-bottom: 0px solid #CCCCCC;
	border-left: 1px solid #CCCCCC;
}
.tablelinenotopdown {

	border-top: 1px solid #eeeeee;
	border-right: 1px solid #eeeeee;
	border-bottom: 1px solid #eeeeee;
	border-left: 1px solid #eeeeee;
}
.style6 {FONT-SIZE: 9pt; color: #7b8ac3; }

-->
</style>
<script type="text/javascript">
function  proof_diagram(src_id,conx){
		var aa = document.getElementById(src_id);
			aa.src = "";
			aa.src = conx+"/web/createCheckWord?random="+Math.random();
	} 

function check(){

		var accname = document.getElementById("ACCNAME");
		if(accname.value==""){
			alert("请输入账号");
			accname.focus();
			return false;
		}
		var accpass = document.getElementById("ACCPASS");
		if(accpass.value==""){
			alert("请输入密码！");
			accpass.focus();
			return false;
		}
		var rand = document.getElementById("RAND");
		if(rand.value=="" || "请输入->"==rand.value){
			alert("请输入验证码");
			rand.focus();
			return false;
		}
		
		return true;
	}
</script>
<link href="css/login.css" rel="stylesheet" type="text/css">
</head>
<body style="background-color: #9CDCF9;">
<form action="${pageContext.request.contextPath}/web/checkAdminLogin" onsubmit="return check();" method="post">
<input type="hidden" id="returnurl" name="returnurl" value="/view/netstore/login/login.jsp">
<input type="hidden" id="CITYCODE" name="CITYCODE" value="0590">
<table width="681" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:120px">
  <tr>
    <td width="353" height="259" align="center" valign="bottom" background="../images/admin//login_1.jpg"><table width="90%" border="0" cellspacing="3" cellpadding="0">
      <tr>
        <td align="right" valign="bottom" style="color:#05B8E4">Power by  Doone Copyright 2009</td>
      </tr>
    </table></td>
    <td width="195" background="../images/admin//login_2.gif"><table width="190" height="106" border="0" align="center" cellpadding="2" cellspacing="0">
     
            <tr>
              <td height="50" colspan="2" align="left">&nbsp;
              </td>
            </tr>
            <tr>
              <td width="60" height="30" align="left">登陆账号</td>
              <td>
              <input class="textbox" type="text" size="15" maxlength="10" id="ACCNAME" name="userName" style="background:url(../images/admin//login_6.gif) repeat-x; border:solid 1px #27B3FE; height:20px; background-color:#FFFFFF">
			</td>
            </tr>
            <tr>
              <td height="30" align="left">登陆密码</td>
              <td>
              <input type="password" size="15" id="ACCPASS" name="passWord" style="background:url(../images/admin//login_6.gif) repeat-x; border:solid 1px #27B3FE; height:20px; background-color:#FFFFFF">
              </td>
            </tr>
            <tr>
              <td height="30"> 验 证 码 </td>
			  <td>
			  <INPUT class="textbox" id=RAND name="checkWord"   style="background:url(../images/admin//login_6.gif) repeat-x; border:solid 1px #27B3FE; height:20px; background-color:#FFFFFF"
                  onFocus="javascript:if(this.value=='请输入->')this.value='';" 
                  onBlur="javascript:if(this.value==''){this.value='请输入->';}"
                  value="请输入->" tabindex="6" style="width: 50%" maxlength="4">
            <span onClick="proof_diagram('diagram','${pageContext.request.contextPath}')"  style="cursor:pointer" >
            <img title="看不清楚？点击我" id="diagram" src="${pageContext.request.contextPath}/web/createCheckWord" width="80" height="40" align="absmiddle"></span>
            </tr>
            <tr>
              <td height="10" colspan="2" align="center"><img src="../images/admin//tip.gif" width="16" height="16"> ${request.errorMsg }</td>
          <tr>
              <td colspan="2" align="center"><input type="submit" name="submit" style="background:url(../images/admin//login_5.gif) no-repeat" value=" 登  陆 "> 
			  <input type="reset" name="Submit" style="background:url(../images/admin//login_5.gif) no-repeat" value=" 取  消 "></td>
            <tr>
              <td height="5" colspan="2"></td>
           </tr>
    </table>
    </td>
    <td width="133" background="../images/admin//login_3.gif">&nbsp;</td>
  </tr>
  <tr>
    <td height="161" colspan="3" background="../images/admin//login_4.gif"></td>
  </tr>
</table></form>
</body>
</html>